From 83d5a36c9ff804f2976fc996eaf8d2947196a4d0 Mon Sep 17 00:00:00 2001 From: Cody Russell Date: Sun, 10 Jun 2007 16:13:09 +0000 Subject: [PATCH] Don't revert the mouse cursor to the built-in one when the user holds the 2007-06-10 Cody Russell * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Don't revert the mouse cursor to the built-in one when the user holds the mouse button down. (#445284, Tor Lillqvist) svn path=/trunk/; revision=18093 --- ChangeLog | 6 ++++++ gdk/win32/gdkevents-win32.c | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5b3383edca..e0a95bbedb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-06-10 Cody Russell + + * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): + Don't revert the mouse cursor to the built-in one when + the user holds the mouse button down. (#445284, Tor Lillqvist) + 2007-06-10 Emmanuele Bassi * gtk/gtkscalebutton.[ch]: Fix some coding style bits. diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index 5059a88993..9364d15514 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -534,8 +534,6 @@ gdk_pointer_grab (GdkWindow *window, if (return_val == GDK_GRAB_SUCCESS) { - GdkWindowImplWin32 *impl = GDK_WINDOW_IMPL_WIN32 (((GdkWindowObject *) window)->impl); - if (p_grab_window != NULL && p_grab_window != window) generate_grab_broken_event (p_grab_window, FALSE, window); @@ -552,10 +550,6 @@ gdk_pointer_grab (GdkWindow *window, if (p_grab_cursor != NULL) SetCursor (p_grab_cursor); - else if (impl->hcursor != NULL) - SetCursor (impl->hcursor); - else - SetCursor (LoadCursor (NULL, IDC_ARROW)); if (confine_to != NULL) { -- 2.30.2